import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/monte/calculateLog/` + url, ...arg)

/**
 * monteCalculateLogApi接口管理器
 *
 * @author lihao
 * @date  2025/05/11 17:02
 **/
export default {
	// 获取monteCalculateLog分页
	monteCalculateLogPage(data) {
		return request('page', data, 'get')
	},
	// 提交monteCalculateLog表单 edit为true时为编辑，默认为新增
	monteCalculateLogSubmitForm(data, edit = false) {
		return request(edit ? 'edit' : 'add', data)
	},
	// 删除monteCalculateLog
	monteCalculateLogDelete(data) {
		return request('delete', data)
	},
	// 获取monteCalculateLog详情
	monteCalculateLogDetail(data) {
		return request('detail', data, 'get')
	}
}
